package com.github.catvod.spider.merge;

import java.nio.charset.Charset;
import java.nio.charset.CharsetEncoder;
import javax.annotation.Nullable;

public class HZ extends Lm {
  private static final ms oq = new ms.aF("title");
  
  private Tw F8 = new Tw();
  
  private boolean i4 = false;
  
  private final String iU;
  
  private yh n = yh.h;
  
  private F t;
  
  public HZ(String paramString) {
    super(iP.iU("#root", Qg.h), paramString);
    this.iU = paramString;
    this.t = F.V0();
  }
  
  public HZ Kd(yh paramyh) {
    this.n = paramyh;
    return this;
  }
  
  public HZ Kg() {
    HZ hZ = (HZ)super.r4();
    hZ.F8 = this.F8.j();
    return hZ;
  }
  
  public F L0() {
    return this.t;
  }
  
  public String PU() {
    return "#document";
  }
  
  public Tw TD() {
    return this.F8;
  }
  
  public HZ U(F paramF) {
    this.t = paramF;
    return this;
  }
  
  public yh pW() {
    return this.n;
  }
  
  public String w4() {
    return yp();
  }
  
  public static class Tw implements Cloneable {
    private int BQ = 1;
    
    private boolean I = true;
    
    private Charset V0 = Uu.V0;
    
    private Tw W = Tw.h;
    
    private XR.HA h = XR.HA.V0;
    
    private final ThreadLocal<CharsetEncoder> j = new ThreadLocal<CharsetEncoder>();
    
    private boolean oC = false;
    
    @Nullable
    XR.yh q;
    
    public boolean BQ() {
      return this.oC;
    }
    
    public XR.HA I() {
      return this.h;
    }
    
    public Tw Qy() {
      return this.W;
    }
    
    public Tw V0(Charset param1Charset) {
      this.V0 = param1Charset;
      return this;
    }
    
    CharsetEncoder W() {
      CharsetEncoder charsetEncoder = this.V0.newEncoder();
      this.j.set(charsetEncoder);
      this.q = XR.yh.h(charsetEncoder.charset().name());
      return charsetEncoder;
    }
    
    public Tw h(String param1String) {
      V0(Charset.forName(param1String));
      return this;
    }
    
    public Tw j() {
      try {
        Tw tw = (Tw)super.clone();
        tw.h(this.V0.name());
        tw.h = XR.HA.oq(this.h.name());
        return tw;
      } catch (CloneNotSupportedException cloneNotSupportedException) {
        throw new RuntimeException(cloneNotSupportedException);
      } 
    }
    
    public int oC() {
      return this.BQ;
    }
    
    CharsetEncoder q() {
      CharsetEncoder charsetEncoder = this.j.get();
      if (charsetEncoder == null)
        charsetEncoder = W(); 
      return charsetEncoder;
    }
    
    public boolean u() {
      return this.I;
    }
    
    public enum Tw {
      V0, h;
      
      private static final Tw[] j;
      
      static {
        Tw tw2 = new Tw("html", 0);
        h = tw2;
        Tw tw1 = new Tw("xml", 1);
        V0 = tw1;
        j = new Tw[] { tw2, tw1 };
      }
    }
  }
  
  public enum Tw {
    V0, h;
    
    private static final Tw[] j;
    
    static {
      Tw tw2 = new Tw("html", 0);
      h = tw2;
      Tw tw1 = new Tw("xml", 1);
      V0 = tw1;
      j = new Tw[] { tw2, tw1 };
    }
  }
  
  public enum yh {
    V0, h, j;
    
    private static final yh[] q;
    
    static {
      yh yh3 = new yh("noQuirks", 0);
      h = yh3;
      yh yh1 = new yh("quirks", 1);
      V0 = yh1;
      yh yh2 = new yh("limitedQuirks", 2);
      j = yh2;
      q = new yh[] { yh3, yh1, yh2 };
    }
  }
}


/* Location:              /Users/hetaiyi/Desktop/my/tech/java/study/aa/temp/temp.jar!/com/github/catvod/spider/merge/HZ.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */